package com.my.httpapi.api.baseUtils;

import android.content.Context;

import androidx.annotation.IdRes;

public class HApi {
    private static Context context;
    public static boolean isShowLog;
    @IdRes
    public static int vtitleBg=-1;
    @IdRes
    public static int vtitleColor=-1;
    @IdRes
    public static  int vrightColor=-1;

    public static void init(Context mContext, boolean isDebug) {
        if (context == null) context = mContext;
        isShowLog = isDebug;
    }

    public static Context getContext() {
        return context;
    }

    public static void initDispose(int titleBg,int titleColor,int rightColor){
        vtitleBg=titleBg;
        vtitleColor=titleColor;
        vrightColor=rightColor;
    }
}
